Amazon Aurora から mysqldump
できない...
code:shell
$ mysqldump -u admin -h aurora-host -p${PASS} --single-transaction --all-databases --order-by-primary -r backup.sql
Error: Couldn't read status information for table host ()
Warning: Couldn't read keys from table host; records are NOT sorted (Table 'mysql.host' doesn't exist)
mysqldump: Couldn't execute 'show create table host': Table 'mysql.host' doesn't exist (1146)
RDS for MySQL => Aurora レプリカ作成
この状態だと mysql データベースの host テーブルが存在しなくなっている
=> show tables で閲覧はできるけど、show create table mysql.host すると怒られる
普通に Aurora 作って mysqldump するとダンプ取得可能だった
出来た
code:shell
$ mysqldump -u user -p -h Aurora_hostE --databases db1 db2 --single-transaction --order-by-primary -r backup.sql